package be.kdg.bombermanunlimited.server.objects.finalclasses;

import java.rmi.RemoteException;
/**
 * implementatie van een wall die men niet kan laten ontploffen.
 * @author pieter
 *
 */
public class UnBreakableWall extends Wall {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7163229228991043424L;
	/*
	 * 0=topleft 1=top 2=topright 3=left 4=right 5=bottomleft 6=bottom
	 * 7=bottomright
	 */
	int orientation;

	public UnBreakableWall(int orientation) throws RemoteException {
		super();
		this.orientation = orientation;
	}

	@Override
	public String toString() {
		return "UnBreakableWall []";
	}

	@Override
	public boolean isBlowable() {
		return false;
	}

	public String AsciiMap() throws RemoteException {
		return "=";
	}

	public int getOrientation() throws RemoteException {
		return this.orientation;
	}
	
	public TileType getType() throws RemoteException {
		return TileType.UnbreakableWall;
	}

	public boolean isWalkableLocalCall() {
		return false;
	}
}
